import request from '@/utils/request'

// 查询销售发货量列表
export function listShipmentvolume(query) {
  return request({
    url: '/app/shipmentvolume/list',
    method: 'get',
    params: query
  })
}

// 查询销售发货量详细
export function getShipmentvolume(id) {
  return request({
    url: '/app/shipmentvolume/' + id,
    method: 'get'
  })
}

// 新增销售发货量
export function addShipmentvolume(data) {
  return request({
    url: '/app/shipmentvolume',
    method: 'post',
    data: data
  })
}

// 修改销售发货量
export function updateShipmentvolume(data) {
  return request({
    url: '/app/shipmentvolume',
    method: 'put',
    data: data
  })
}

// 删除销售发货量
export function delShipmentvolume(id) {
  return request({
    url: '/app/shipmentvolume/' + id,
    method: 'delete'
  })
}
